package com.cyl.manager.pms.req;

import com.cyl.manager.pms.domain.entity.Sku;
import com.sincere.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "商品请求对象")
public class ProductReq {

    @ApiModelProperty("商品ID")
    private Long id;

    @ApiModelProperty("商品ID")
    private Long brandId;

    @ApiModelProperty("品牌ID")
    private Long categoryId;

    @ApiModelProperty("商品编码")
    private String outProductId;

    @ApiModelProperty("商品名称")
    private String name;

    @ApiModelProperty("主片")
    private String pic;

    @ApiModelProperty("画册图片，连产品图片限制为5张，以逗号分割")
    private String albumPics;

    @ApiModelProperty("上架状态")
    private Integer publishStatus;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("产品详情网页内容")
    private String detailHtml;

    @ApiModelProperty("移动端网页详情")
    private String detailMobileHtml;
    /** 品牌名称 */
    @ApiModelProperty("品牌名称")
    private String brandName;

    /** 商品分类名称 */
    @ApiModelProperty("商品分类名称")
    private String productCategoryName;

    @ApiModelProperty("商品销售属性，json格式")
    private String productAttr;

    @ApiModelProperty("sku")
    private List<Sku> skuList;
} 